response = [{'id': 41295, 'username': 'peipei_001'}]
var_names = 'id, nickname'
result = {}
for i, data in enumerate (response, start=0):
    for j, value in enumerate (var_names):
        result[f'{var_names[j]}_{i}'] = data.get(var_names[j])  # 根据变量名称找读取出来的内容
print (result)